<div id="articles_list">
    <ul>
        <%= render(:partial => 'shared/article', :collection => @articles, :locals => {:show_link => false, :show_admin => controller.owner_logined}) %>
    </ul>
</div>

<%content_for(:sidebar) do%>
        <li class="item">
            <h2 class="title">Scributions</h2>
            <div class="content">
                <ul>
                    <li class="feed">
                        RSS 1.0
                    </li>
                    <li class="feed">
                        RSS 2.0
                    </li>
                    <li class="feed">
                        Atom
                    </li>
                </ul>
            </div>
        </li>
        <li class="item">
            <h2 class="title">About Me</h2>
            <div class="content">
                Funny, sunshine, married man.
            </div>
        </li>
        <li class="item">
            <h2 class="title">Latest Entries</h2>
            <div class="content">
                <ul>
                    <li>
                        Article 1
                    </li>
                    <li>
                        Article 2
                    </li>
                    <li>
                        Article 3
                    </li>
                </ul>
            </div>
        </li>
        <li class="item">
            <h2 class="title">Tags</h2>
            <div class="content">
                <ul>
                    <li>
                        Tag 1
                    </li>
                    <li>
                        Tag 2
                    </li>
                    <li>
                        Tag 3
                    </li>
                </ul>
            </div>
        </li>
        <%= render :partial => 'admin/sidebar' if session[:user_id] %>
		<%= link_to 'Login', login_url if !session[:user_id] %>
<%end%>